<?php
/**
 * EmployeeFixture
 *
 */
class EmployeeFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'ID_PRAC' => array('type' => 'float', 'null' => false, 'default' => '0', 'length' => 4, 'key' => 'primary'),
		'NAZWISKO' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 15, 'collate' => 'utf8_polish_ci', 'charset' => 'utf8'),
		'IMIE' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 15, 'collate' => 'utf8_polish_ci', 'charset' => 'utf8'),
		'ETAT' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 10, 'collate' => 'utf8_polish_ci', 'charset' => 'utf8'),
		'ID_SZEFA' => array('type' => 'float', 'null' => true, 'default' => NULL, 'length' => 4),
		'ZATRUDNIONY' => array('type' => 'date', 'null' => true, 'default' => NULL),
		'PLACA_POD' => array('type' => 'float', 'null' => true, 'default' => NULL, 'length' => '6,2'),
		'PLACA_DOD' => array('type' => 'float', 'null' => true, 'default' => NULL, 'length' => '6,2'),
		'ID_ZESP' => array('type' => 'float', 'null' => true, 'default' => NULL, 'length' => 2),
		'indexes' => array('PRIMARY' => array('column' => 'ID_PRAC', 'unique' => 1)),
		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_polish_ci', 'engine' => 'MyISAM')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'ID_PRAC' => 1,
			'NAZWISKO' => 'Lorem ipsum d',
			'IMIE' => 'Lorem ipsum d',
			'ETAT' => 'Lorem ip',
			'ID_SZEFA' => 1,
			'ZATRUDNIONY' => '2012-03-26',
			'PLACA_POD' => 1,
			'PLACA_DOD' => 1,
			'ID_ZESP' => 1
		),
	);
}
